Take Control of the Mac Command Line with Terminal (2.0) by Joe Kissell
Author:Joe Kissell [Joe Kissell]
Language: eng
Format: epub
Publisher: leanpub.com
Published: 2015-04-23T04:00:00+00:00
Modify Your PATH
As I explained in How Your PATH Works, when you run a program by entering just its name, your shell looks for it in several predetermined directories. You may want to specify additional places where programs or scripts are located, to make it easier to run them. For example, if you’re experimenting with your own scripts and you store them all in ~/Documents/scripting, you should add that directory to your PATH.
To add a directory to your PATH, put this in your .bash_profile:
export PATH=$PATH:/your/path/here
For example, to add the directory ~/Documents/scripting, enter this:
export PATH=$PATH:~/Documents/scripting
You can add as many of these export statements as you need. You can also add multiple directories to your PATH in a single export statement by separating them with a colon, like so:
export PATH=$PATH:~/Documents/scripting:/Library/Scripts
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7658)
Filmora Efficient Editing by Alexander Zacharias(5093)
The Infinite Retina by Robert Scoble Irena Cronin(4532)
Linux Device Driver Development Cookbook by Rodolfo Giometti(3810)
Learn Wireshark - Fundamentals of Wireshark. by Lisa Bock(3510)
Edit Like a Pro with iMovie by Regit(3022)
Linux Administration Best Practices by Scott Alan Miller(2765)
Linux Command Line and Shell Scripting Techniques by Vedran Dakic & Jasmin Redzepagic(2744)
MCSA Windows Server 2016 Study Guide: Exam 70-740 by William Panek(2430)
Docker on Windows by Stoneman Elton(2233)
Kali Linux - An Ethical Hacker's Cookbook: End-to-end penetration testing solutions by Sharma Himanshu(2214)
Hands-On AWS Penetration Testing with Kali Linux by Karl Gilbert(2016)
Mastering PowerShell Scripting - Fourth Edition by Chris Dent(2007)
Hands-On Linux for Architects by Denis Salamanca(1934)
Computers For Seniors For Dummies by Nancy C. Muir(1904)
Programming in C (4th Edition) (Developer's Library) by Stephen G. Kochan(1887)
The Old New Thing by Raymond Chen(1847)
Creative Projects for Rust Programmers by Carlo Milanesi(1811)
Linux Kernel Debugging by Kaiwan N Billimoria(1679)
